package com.woniuxy.dao;

import com.woniuxy.entity.Register;
import com.woniuxy.entity.ResponseEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RegisterDao {

    int addOne(Register register);

    Register findByNo(String no);

    Register findByAccount(String account);

    Register findByUsername(String username);

    List<Register> findAll();
}
